<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // function
        const aaa=function(){

        }
        // 对象字面量定义函数
        const obj={
            bbb(){

            }
        }
        // es6箭头函数  (放参数)
        const ccc=()=>{

        }
    </script>
</body>
</html>